POV-Ray : Newsgroups : povray.binaries.images : Bathtub - take 2 : Re: Bathtub - take 2 Server Time
1 Aug 2024 10:17:40 EDT (-0400)
  Re: Bathtub - take 2  
From: Trevor G Quayle
Date: 16 Dec 2008 15:15:00
Message: <web.49480bd26655db1881c811d20@news.povray.org>
"alphaQuad" <alp### [at] earthlinknet> wrote:
> "Trevor G Quayle" <Tin### [at] hotmailcom> wrote:
> > Ny further critique, suggestions are more than welcome.
> >
> > -tgq
>
> Don't know if you posted any script or what youre using for normals.
> Here's a Cousin Ricky norm and the one I did for the Lego pool.
> not in that order
>
> #declare n_surface = normal {
>          function { f_ridge (x, y, z, 0.1, 1.0, 7, 0.7, 0.7, 0) } 2
> //   function { f_ridged_mf (x, y, z, 0.1, 3.0, 7, 0.7, 0.7, 2) } 2
> }
>  //f_ridge = function { internal(58) }
> // Parameters: x, y, z
>     // Six extra parameters required:
>     // 1. lambda
>     // 2. octaves
>     // 3. omega
>     // 4. offset
>     // 5. Ridge
>     // 6. noise
> // Parameters: x, y, z
>     // Six extra parameters required:
>     // 1. H
>     // 2. Lacunarity
>     // 3. octaves
>     // 4. offset
>     // 5. Gain
>     // 6. noise

The water surface is f_ridged_mf(x,y,z, 0.1, 3, 7, 0.7, 0.7, 2) plus procedural,
hand placed ripples.  It is not a normal though, but actually a heightfield.

-tgq


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.